import axios from 'axios'

const API_URL = "http://localhost:8080/app/user-message"

export const getAllMsg=(userId)=>{
    return axios.get(`${API_URL}/getAllMsg/${userId}`)
}

export const updateMsgStatus=(id)=>{
    return axios.put(`${API_URL}/updateMsgStatus/${id}`)
}